package net.hn.hnms.biz.gasext.dws.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.hn.hnms.biz.api.safety.location.model.LeadVo;
import net.hn.hnms.biz.gasext.dws.domain.RydwRyssPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 人员实时Mapper
 *
 */
public interface RydwRyssMapper extends BaseMapper<RydwRyssPo> {
    /**
     * 获取当前煤矿井下人数
     * @param orgCode
     * @return
     */
    Integer selectPersonNumberList(@Param("orgCode") String orgCode);

    /**
     * 获取井下领导入井信息
     * @param orgCode
     * @return
     */
    List<LeadVo> selectLeadPitInfo(@Param("orgCode") String orgCode);

    //查询轨迹
    RydwRyssPo selectTrail(@Param("staffCode") String staffCode, @Param("inTime") String inTime, @Param("orgCode") String mineCode);
}
